package com.example.demo.listener;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @date: 2019/6/11 22:33.
 * @author: yulipeng.
 */
@Component //放在ioc容器中
public class HelloApplicationRunner implements ApplicationRunner {
    @Override
    public void run(ApplicationArguments args) throws Exception {
        System.out.println("====HelloApplicationRunner.run()==================");
    }
}
